package com.hfjyz.registration.dao;

import java.util.List;

import com.hfjyz.registration.command.DepartListCommand;
import com.hfjyz.registration.model.Depart;
import com.hfjyz.registration.model.Exam;

public interface DepartDao extends BaseDao<Depart, Integer> {

	List<Depart> search(DepartListCommand cmd) throws Exception;

	List<Depart> listByExam(Exam exam) throws Exception;
   
	List<Depart> getDepartById(String examId) throws Exception;

}
